package com.mingke.java.entity;

/**
 * 数据备份实体类
 */
public class DataBackupEntity {

    private Integer id;

    //  数据源名称
    private String dataSourceName;

    //操作的数据表名称
    private String tableName;

    //备份类型，1表示磁盘备份，2表示数据库备份
    private Integer type;

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDataSourceName() {
        return dataSourceName;
    }

    public void setDataSourceName(String dataSourceName) {
        this.dataSourceName = dataSourceName;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public DataBackupEntity(Integer id, String dataSourceName, String tableName, Integer type) {
        this.id = id;
        this.dataSourceName = dataSourceName;
        this.tableName = tableName;
        this.type = type;
    }

    public DataBackupEntity() {
    }
}
